Skip to content

Conversation

@Zentrik
Copy link
Contributor

@Zentrik Zentrik commented Nov 27, 2024

Revert removal of #include <map> in 1f4d91e#diff-c76b4e403936f869d0254d51dbbe95b21bb136d21d07cd94fc840817f8185833R14.

I've been getting the following error since that commit

 [18:34:04] /workspace/srcdir/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp:115:28: error: ‘map’ in namespace ‘std’ does not name a template type
[18:34:04]   115 | using NativeCodeMap = std::map<uint64_t, SourceLocations>;
[18:34:04]       |                            ^~~
[18:34:04] /workspace/srcdir/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp:18:1: note: ‘std::map’ is defined in header ‘<map>’; did you forget to ‘#include <map>’?
[18:34:04]    17 | #include "ittnotify.h"
[18:34:04]   +++ |+#include <map>
[18:34:04]    18 |

Revert removal of `#include <map>` in llvm@1f4d91e#diff-c76b4e403936f869d0254d51dbbe95b21bb136d21d07cd94fc840817f8185833R14.

I've been getting the following error since that commit
```
 [18:34:04] /workspace/srcdir/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp:115:28: error: ‘map’ in namespace ‘std’ does not name a template type
[18:34:04]   115 | using NativeCodeMap = std::map<uint64_t, SourceLocations>;
[18:34:04]       |                            ^~~
[18:34:04] /workspace/srcdir/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp:18:1: note: ‘std::map’ is defined in header ‘<map>’; did you forget to ‘#include <map>’?
[18:34:04]    17 | #include "ittnotify.h"
[18:34:04]   +++ |+#include <map>
[18:34:04]    18 |
```
@Zentrik Zentrik closed this Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant